repo: Make commit_transaction introspectable
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 05:37:09 +0000 (01:37 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 Sep 2013 05:46:50 +0000 (01:46 -0400)
src/libostree/ostree-repo-commit.c

index daec913eb8c58ca3304cdd066e2983d231e1ecff..116b250ed4121204d1a03e559cb6b8549d343567 100644 (file)
@@ -720,6 +720,18 @@ ostree_repo_transaction_set_ref (OstreeRepo *self,
   g_hash_table_replace (self->txn_refs, refspec, g_strdup (checksum));
 }
 
+/**
+ * ostree_repo_commit_transaction:
+ * @self: An #OstreeRepo
+ * @out_stats: (allow-none) (out): A set of statisitics of things
+ * that happened during this transaction.
+ * @cancellable: Cancellable
+ * @error: Error
+ *
+ * Complete the transaction. Any refs set with
+ * ostree_repo_transaction_set_ref() or
+ * ostree_repo_transaction_set_refspec() will be written out.
+ */
 gboolean
 ostree_repo_commit_transaction (OstreeRepo                  *self,
                                 OstreeRepoTransactionStats  *out_stats,